Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Point Lights


Q3PointLight_SetLocation

You can use the Q3PointLight_SetLocation function to set the location of a point light.

TQ3Status Q3PointLight_SetLocation (
TQ3LightObject light, 
const TQ3Point3D *location);
light
A point light object.
location
The desired location of the point light, in world coordinates.
DESCRIPTION
The Q3PointLight_SetLocation function sets the location of the point light specified by the light parameter to the value passed in the location parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996